package com.microtf.inscription.metaweblog.xmlrpc;

import java.util.TimeZone;

/**
 * xmlRpc 输出配置，应用使用默认配置就可以。
 *
 * @author guliuzhong
 * @since 1.0
 */
public class StreamConfig implements org.apache.xmlrpc.common.XmlRpcStreamRequestConfig {
    public StreamConfig() {
    }

    @Override
    public boolean isGzipCompressing() {
        return false;
    }

    @Override
    public boolean isGzipRequesting() {
        return false;
    }

    @Override
    public boolean isEnabledForExceptions() {
        return true;
    }

    @Override
    public String getEncoding() {
        return null;
    }


    @Override
    public boolean isEnabledForExtensions() {
        return true;
    }

    @Override
    public TimeZone getTimeZone() {
        return TimeZone.getTimeZone("Etc/UTC");
    }
}
